﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="workflowAppointo.aspx.cs" Inherits="WEB.workflow.workflowAppointo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="/images/login.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    工作流信息
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table width="100%">
        <tr>
            <td align="center">
                <asp:GridView ID="gvWorkflowList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                    CssClass="distance" DataKeyNames="WKID" ForeColor="Black" GridLines="Vertical"
                    OnRowDataBound="gvWorkflowList_RowDataBound" AllowPaging="True" OnPageIndexChanging="gvWorkflowList_PageIndexChanging"
                    BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px"
                    Width="800px">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="busName" HeaderText="步骤" />
                        <asp:BoundField DataField="UserName" HeaderText="传递人" />
                        <asp:BoundField DataField="UserName1" HeaderText="接收人" />
                        <asp:BoundField DataField="jobName" HeaderText="处理角色" />
                        <asp:BoundField DataField="UserName2" HeaderText="处理人" />
                        <asp:BoundField DataField="doDate" HeaderText="处理日期" />
                        <asp:BoundField DataField="doMark" HeaderText="处理意见" />
                        <asp:TemplateField HeaderText="处理及时度">
                            <ItemTemplate>
                                <asp:Image Width="32px" Height="32px" ID="ImgIntime" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <PagerSettings PageButtonCount="5" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#F7F7DE" />
                    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#FBFBF2" />
                    <SortedAscendingHeaderStyle BackColor="#848384" />
                    <SortedDescendingCellStyle BackColor="#EAEAD3" />
                    <SortedDescendingHeaderStyle BackColor="#575357" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Panel ID="Panel1" runat="server">
                    <asp:Label ID="Label2" runat="server" Text="当前步骤："></asp:Label>
                    <asp:TextBox ID="tbCurBus" runat="server" Enabled="False"></asp:TextBox>
                    <asp:Label ID="Label3" runat="server" Text="接收状态："></asp:Label>
                    <asp:TextBox ID="tbIsReceive" runat="server" Enabled="False"></asp:TextBox>
                    <br />
                    <asp:Label ID="Label1" runat="server" Text="选择员工角色："></asp:Label>
                    <asp:DropDownList ID="ddlEmp" runat="server">
                    </asp:DropDownList>
                    &nbsp;
                    <asp:Button ID="btnAppoint" runat="server" CssClass="Submit_yellowbig" Text="指派该角色处理"
                        OnClick="btnAppoint_Click" BorderStyle="None" ForeColor="Black" />
                </asp:Panel>
                <asp:Panel ID="Panel2" runat="server">
                    <asp:Label ID="Label4" runat="server" Text="选择步骤："></asp:Label>
                    <asp:DropDownList ID="ddlStep" runat="server">
                    </asp:DropDownList>
                    &nbsp;&nbsp;<asp:Label ID="Label5" runat="server" Text="修改及时度状态："></asp:Label>
                    <asp:DropDownList ID="ddlIntime" runat="server">
                        <asp:ListItem Value="1">及时（绿灯）</asp:ListItem>
                        <asp:ListItem Value="2">紧张（黄灯）</asp:ListItem>
                        <asp:ListItem Value="3">超时（红灯）</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Image ID="imgIntime" runat="server" Visible="False" />
                    &nbsp;<asp:Button ID="btnEditIntime" runat="server" Text="确认修改" BorderStyle="None"
                        CssClass="Submit_yellowbig" OnClick="btnEditIntime_Click" />
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
